﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(&H10C0)), Guid("B7734D6E-C899-4322-B811-B973071D6628")> _
    Public Interface IGoogleDesktopSchemaFilter
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FB)> _
        Sub AllowNone()

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FC)> _
        Sub Allow(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String)

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FD)> _
        Sub Disallow(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal schema_name As String)

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3FE)> _
        Function GetAllowed() As <MarshalAs(UnmanagedType.SafeArray, SafeArraySubType:=VarEnum.VT_VARIANT)> Object()

    End Interface
End Namespace

